home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / usr / share / cli-common / gac-install next >
Text File  |  2009-03-13  |  399b  |  20 lines

  1. #!/bin/bash
  2.  
  3. # Make sure the GAC file exists
  4. if [ ! -x /usr/share/cli-common/runtimes.d/$1 ]; then
  5.     echo ! Cannot install GAC $1
  6.     exit 1
  7. fi
  8.  
  9. # Make some useful noise
  10. #echo "Installing packages in $1"
  11.  
  12. for file in /usr/share/cli-common/packages.d/*.installcligac
  13. do
  14.   if [ -f $file ]; then
  15.       /usr/share/cli-common/gac-package-install \
  16.       $(basename $file .installcligac) \
  17.       $1
  18.   fi
  19. done
  20.